package net.maxwoods.spring;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BindService {

    private TestService testService;

    @Autowired
    public BindService(TestService testService) {
        this.testService = testService;
    }

    public String sayHello(String name) {
        return testService.sayHello(name);
    }
}
